* {
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    /*继承父级元素的颜色*/
}

.header {
    width: 100%;
    height: 100px;
    background: #333333;
}

.header-center {
    width: 960px;
    height: 100%;
    /*  background: yellow; */
    margin: auto;
    color: #fff;
    position: relative;
}

.logo {
    font-size: 30px;
    position: absolute;
    top: 20px;
}

.blog {
    position: absolute;
    font-size: 20px;
    right: 0;
    top: 5px;
}


.banner {
    width: 100%;
    height: 300px;
    background: #66BB33;
    position: relative;
}

.pagination {
    position: absolute;
    right: 150px;
    bottom: 10px;
}

.page {
    width: 35px;
    height: 40px;
    background: #B2DD99;
    border: black 1px solid;
    float: left;
    margin-left: 10px;
    text-align: center;
    line-height: 40px;
}

.active {
    background: #E0F1D6;
    height: 60px;
    margin-top: -20px;
    line-height: 80px;
}

.nav {
    width: 100%;
    height: 80px;
    border-bottom: gainsboro 1px solid;
    position: relative;
}

.navItem {
    position: absolute;
    left: 100px;
    bottom: 0;
    height: 60px;
}

.home {
    width: 120px;
    height: 61px;
    border: gainsboro 1px solid;
    background: #fff;
    float: left;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    border-bottom: white;
    text-align: center;
    line-height: 60px;
}

.profile {
    width: 120px;
    height: 60px;
    border: gainsboro 1px solid;
    background: #EEEEEE;
    float: left;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    border-bottom: none;
    text-align: center;
    line-height: 60px;
}

.about {
    width: 120px;
    height: 60px;
    border: gainsboro 1px solid;
    background: #EEEEEE;
    float: left;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    border-bottom: none;
    text-align: center;
    line-height: 60px;
}


.content {
    width: 100%;
    height: 600px;
}

.container {
    display: flex;
    flex-flow: row wrap;
    width: 1000px;
    height: 580px;
    margin: auto;
    margin-top: 9px;
}

.flex-item {
    border: gainsboro 1px solid;
    height: 170px;
    flex: 300px;
    margin: 10px 10px 0 10px;
    text-align: center;
    line-height: 170px;
}

.flex-item:nth-of-type(4) {
    flex: 180px;
}

.flex-item:nth-of-type(5) {
    flex: 180px;
}

.flex-item:nth-of-type(6) {
    flex: 180px;
}

.flex-item:nth-of-type(7) {
    flex: 180px;
}

.footer {
    width: 100%;
    height: 150px;
    background: #666666;
    text-align: center;
    line-height: 50px;
    color: #fff;
}